package com.jmp.base;

import com.jmp.base.dto.*;
import one.stand.model.ResultModel;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

public interface RecordApi {
    /**
     * 咨询类型1普通消息，2初始消息，3商品消息
     */

    /**
     * 电话拨打记录
     */
    @PostMapping("/record/call")
    ResultModel call(@RequestBody RecordCallRequest request);

    /**
     * 咨询记录
     */
    @PostMapping("/record/consult")
    ResultModel consult(@RequestBody RecordConsultRequest request);

    /**
     * 收藏
     */
    @PostMapping("record/collection")
    ResultModel<RecordCollectionVo> collection(@RequestBody RecordCollectionDto request);

    /**
     * 收藏列表
     */
    @PostMapping("record/collect/list")
    ResultModel<RecordCollectListVo> collectList(@RequestBody RecordCollectListDto request);
}
